package com.hh.eduservice.service.client;

import com.hh.commonutils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import javax.servlet.http.HttpServletRequest;

@Component
@FeignClient("service-order")
public interface serviceOrderClient {
    @GetMapping("/eduorder/order/getOrderInfoStatus/{courseId}/{memberId}")
    public int getOrderInfoStatus(@PathVariable("courseId") String courseId,@PathVariable("memberId") String memberId);
}
